package com.pro.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @ClassName NavigationBarData
 * @Author 谭金诚
 * @Date 2021/11/4
 */

@Data
public class NavigationBarDataType {
    //字典id
    private Integer dictId;
    //字典名称
    private Integer dictName;
    //字典类型
    private String dictType;
    //字典类型下的数据
    private List<NavigationBarData> data;
    //状态，0正常，1停用
    private String status;
    //创建人
    private Integer createBy;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    //创建时间
    private Date createTime;
    //更新人
    private Integer updateBy;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    //更新时间
    private Date updateTime;
    //备注
    private String remark;

    public NavigationBarDataType() {
    }

    public Integer getDictId() {
        return dictId;
    }

    public void setDictId(Integer dictId) {
        this.dictId = dictId;
    }

    public Integer getDictName() {
        return dictName;
    }

    public void setDictName(Integer dictName) {
        this.dictName = dictName;
    }

    public String getDictType() {
        return dictType;
    }

    public void setDictType(String dictType) {
        this.dictType = dictType;
    }

    public List<NavigationBarData> getData() {
        return data;
    }

    public void setData(List<NavigationBarData> data) {
        this.data = data;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Integer updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public NavigationBarDataType(Integer dictId, Integer dictName, String dictType, List<NavigationBarData> data, String status, Integer createBy, Date createTime, Integer updateBy, Date updateTime, String remark) {
        this.dictId = dictId;
        this.dictName = dictName;
        this.dictType = dictType;
        this.data = data;
        this.status = status;
        this.createBy = createBy;
        this.createTime = createTime;
        this.updateBy = updateBy;
        this.updateTime = updateTime;
        this.remark = remark;
    }
}
